import permission from './permission'
import preReclick from './preReclick'
import drag from "./drag";
const directives = {
    permission,
    preReclick,
    drag
}

export default {
    install(Vue) {
        Object.keys(directives).forEach((key) => {
            Vue.directive(key, directives[key])
        })
    }
}